﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
using System.Runtime.Serialization.Formatters.Binary;

namespace oop4
{
    internal class Contact
    {
        public string Name { get; set; }
        public string PhoneNumber {  get; set; }
        public Contact() { }

        public void printContact() 
        {
            Console.WriteLine($"联系人姓名: {Name}, 联系人电话号码: {PhoneNumber}");
        }

    }
}
